Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Syntax Error on compile #76

Open
jessewallace opened this issue Mar 6, 2017 · 1 comment
Open

Getting Syntax Error on compile #76

jessewallace opened this issue Mar 6, 2017 · 1 comment

Comments

@jessewallace
Copy link

jessewallace commented Mar 6, 2017

I'm getting an error that hasn't happened with other projects I've started before. Any clue to whats going on here?

I'm using latest node and latest autoprefixer. I cleared out the node_modules folder and did a fresh npm install.

events.js:160
      throw er; // Unhandled 'error' event
      ^
SyntaxError: Unexpected token < in JSON at position 16
    at Object.parse (native)
    at new SourceMapConsumer (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/source-map/lib/source-map-consumer.js:17:22)
    at PreviousMap.consumer (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/postcss/lib/previous-map.js:69:34)
    at new Input (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/postcss/lib/input.js:84:28)
    at parse (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/postcss/lib/parse.js:21:17)
    at new LazyResult (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/postcss/lib/lazy-result.js:70:24)
    at Processor.process (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/postcss/lib/processor.js:117:12)
    at DestroyableTransform._transform (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/gulp-autoprefixer/index.js:20:31)
    at DestroyableTransform.Transform._read (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/Users/jessewallace/dev/projects/CMS/develop/wp-content/plugins/amp-styles/node_modules/readable-stream/lib/_stream_transform.js:147:83)
@jessewallace jessewallace changed the title Getting an error on compile Getting Syntax Error on compile Mar 6, 2017
@caleyshemc
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants