Syntax Error: Unexpected String?

The following line is giving me the following error: "Syntax Error: Unexpected String".

import {Specialties} from '/lib/collections';

What could possibly be unexpected about that string?

Thanks very much in advance to all for any info.
1 comment
Comment actions Permalink

This is the correct syntax. What JavaScript language version is chosen in 'Settings | Languages & Frameworks | JavaScript'? make sure to set it to either 'ECMAScript6' or 'JSX Harmony'


Please sign in to leave a comment.