Cannot find module 'yoga-layout'
See original GitHub issueHi.
(Sorry for the glitches in English, I had to use the translator)
By performing the quick-start of the documentation, I came across the error below.
>npm run start
> teste-proton@0.0.1 start c:\backup\projetos\javascript\teste-proton
> babel-node index.js
module.js:540
throw err;
^
Error: Cannot find module 'yoga-layout'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (c:\backup\projetos\javascript\teste-proton\node_modules\proton-native\bin\components\View.js:23:19)
at Module._compile (module.js:643:30)
at Module._extensions..js (module.js:654:10)
at Object.require.extensions.(anonymous function) [as .js] (c:\backup\projetos\javascript\teste-proton\node_modules\babel-register\lib\node.js:152:7)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! teste-proton@0.0.1 start: `babel-node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the teste-proton@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\david\scoop\persist\nodejs-lts\cache\_logs\2018-04-04T17_28_14_560Z-debug.log
{
"name": "teste-proton",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node_modules/.bin/babel-node index.js",
"build": "node_modules/.bin/babel index.js -d bin/",
"package-linux": "bash ./scripts/appimage.sh"
},
"dependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"proton-native": "^1.0.17"
}
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
gatsby production build throwing yoga-layout-prebuilt module ...
Built will be success without any error. Actual result. Now throwing error as. $ gatsby build 11:55:23 AM: /opt/build/repo/node_modules/yoga ...
Read more >yoga-layout - npm
Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar ...
Read more >Gatsby - cannot find module react - Stack Overflow
Error : Cannot find module 'react'. I was looking for some advices in web but people are getting this message after installing some...
Read more >Error: Cannot find module 'gatsby-plugin-utils/polyfill-remote-file'
Error: Cannot find module 'gatsby-plugin-utils/polyfill-remote-file'. After updating Gatsby from 3.0.4 to 4.12.1 I got the following error ...
Read more >Adding bootstrap-icons to Sage project causes Bud to throw ...
bud clean /home/xxx/themes/dev-alpha/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53 throw ex; ^ Error: Cannot find ...
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
Yeah, I published the wrong branch. It’s fixed now.
I guess a typo…