Cannot find module './src/init'
See original GitHub issue-
Library Version: 0.20.2
-
Operating System: OSX 10.12
-
Node Version: 6.2.0
-
NPM Version: 3.8.9
-
Language: ESNext
Current behavior:
au new
and au run
are entered as instructed. Instead of building and running, this error is shown:
{ Error: Cannot find module './src/init'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/home/Sites/compluter-au/node_modules/vinyl-fs/node_modules/gulp-sourcemaps/index.js:4:9)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3) code: 'MODULE_NOT_FOUND' }
Expected/desired behavior: The Aurelia CLI should build and or run when commanded.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
4 - Stack Overflow
Getting Error: Cannot find module './src/init' when trying to initialize a react native app · Subscribe to RSS.
Read more >Issues - GitHub
NPM install error | Error: Cannot find module './src/init' #2296 · Comments · Footer.
Read more >I have an error it says: Error: Cannot find module '.env'
[nodemon] app crashed - waiting for file changes before starting… My .env file code is below: SECRET_KEY=super_secret_key_you_should_change.
Read more >Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >Error: Cannot find module 'express' - YouTube
Error: Cannot find module 'express'Error: Cannot find module 'cors'Error: Cannot find module 'body-parser'Error: Cannot find module ...
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 Free
Top 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
temporary fix:
npm install gulp-sourcemaps@2.0.0 --save
au run
@PWKad I just created a new project and can confirm the update
gulp-sourcemaps
pushed fixes the issue. Can be closed.