'npm start' fails with 'SyntaxError: Assigning to rvalue'
See original GitHub issueHallo 👋, I’m seeing the error SyntaxError: Assigning to rvalue
when creating a new app with create-choo-app
.
Environment;
- macOS Sierra 10.12.16
- node 8.9.4
- npm 5.6.0
- npx 9.7.1
Commands;
npx create-choo-app choo-example
cd choo-example
npm start
Error;
(node:96280) ExperimentalWarning: The http2 module is an experimental API.
scripts:browserify.bundle Assigning to rvalue (3:45)
SyntaxError: Assigning to rvalue (3:45)
at Parser.pp$4.raise (/projects/choo-example/node_modules/acorn/dist/acorn.js:2684:13)
at Parser.pp$2.toAssignable (/projects/choo-example/node_modules/acorn/dist/acorn.js:1581:12)
at Parser.pp$3.parseMaybeAssign (/projects/choo-example/node_modules/acorn/dist/acorn.js:1885:47)
at Parser.pp$3.parseExpression (/projects/choo-example/node_modules/acorn/dist/acorn.js:1851:19)
at Parser.pp$1.parseStatement (/projects/choo-example/node_modules/acorn/dist/acorn.js:809:45)
at Parser.pp$1.parseTopLevel (/projects/choo-example/node_modules/acorn/dist/acorn.js:700:23)
at Parser.parse (/projects/choo-example/node_modules/acorn/dist/acorn.js:545:15)
at parse (/projects/choo-example/node_modules/acorn/dist/acorn.js:3741:37)
at module.exports (/projects/choo-example/node_modules/falafel/index.js:22:15)
at /projects/choo-example/node_modules/static-module/index.js:30:13
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Why do I get SyntaxError: Assigning to rvalue? - Stack Overflow
You get rvalue error, when you use = instead of == in a condition checking block.
Read more >SyntaxError: Assigning to rvalue in JavaScript [Solved]
The "Assigning to rvalue" error occurs when we have a SyntaxError in our JavaScript code. The most common cause is using a single...
Read more >[Solved]-Why do I get SyntaxError: Assigning to rvalue?-Reactjs
You get rvalue error, when you use = instead of == in a condition checking block. Ignatius Andrew 7444. Source: stackoverflow.
Read more >i get the error SyntaxError: app.js: Assigning to rvalue `w` (4:2 ...
i get the error SyntaxError: app.js: Assigning to rvalue `w` (4:2) but i don't understand i have typed warning.. ; const warning =...
Read more >Why I get Error: assigning to rvalue? - CodeCombat Discourse
Hello all! I have the code like above and get the error "assigning to rvalue". Why? if 1 + 1 + 1 =...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the help @goto-bus-stop, that does look to be the issue.
Because I’ve previously installed versions of a lot of the dependencies it looks like a few of them were out of date, rather than updating each I ran
npm cache clean --force
.It looks like this has caused issues previously and @yoshuawuyts suggested removing the
--cache-min
flag, I’m going to submit a PR to do that.Thanks @yoshuawuyts 👍!