-
Notifications
You must be signed in to change notification settings - Fork 655
Unable to have node_modules/ directory in new dpd project #320
Copy link
Copy link
Closed
Description
I can create a new dpd project, and start it up, with everything working as it should. But if I add a package.json file, and install my modules with npm install, I start getting this error when I try to start dpd :
Error loading module node_modules/grunt-cli
Error: Cannot find module '/Users/xxxx/mysites/deploydApp/app/node_modules/grunt-cli'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at module.exports.fs.readdir.fs.readdir.dir.forEach.d.on.process.send.moduleError (/usr/local/deployd/node_modules/deployd/lib/type-loader.js:39:27)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
If I delete the node_modules directory that was created when running npm install, the app starts up normally again. Anyone else seeing this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels