question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug in deploy Revert to version ^1.6 to 1.6 in package.json

See original GitHub issue

Hello,

I have one error on deployement. The revert in version 1.6 works (i don’t test others versions, but tuesday night this worked too).

The error :

  [RuntimeException]                                                                                                           
  Error: Cannot find module './src/init'                                                                                       
      at Function.Module._resolveFilename (module.js:338:15)                                                                   
      at Function.Module._load (module.js:280:25)                                                                              
      at Module.require (module.js:364:17)                                                                                     
      at require (module.js:380:17)                                                                                            
      at Object.<anonymous> (****node_modules/gulp-sourcemaps/in  
  dex.js:4:9)                                                                                                                  
      at Module._compile (module.js:456:26)                                                                                    
      at Object.Module._extensions..js (module.js:474:10)                                                                      
      at Module.load (module.js:356:32)                                                                                        
      at Function.Module._load (module.js:312:12)                                                                              
      at Module.require (module.js:364:17)  

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:11

github_iconTop GitHub Comments

8reactions
nmccreadycommented, Oct 13, 2016

Fun times I’ll fix it after the gym.

On Oct 13, 2016 16:28, “Renée Kooi” notifications@github.com wrote:

2.1.0 is made up of multiple files but only index.js got published:

https://github.com/floridoo/gulp-sourcemaps/blob/master/package.json#L43

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/floridoo/gulp-sourcemaps/issues/238#issuecomment-253629233, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjnqfENO1ZTZ4dbuxMVyLfOV1Am2OHpks5qzpR7gaJpZM4KWVDp .

0reactions
nmccreadycommented, Oct 13, 2016

npm shrinkwrap also helps as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reverting to Previous Version of Package.json When a ...
1 Answer 1 · Get an old copy of your package.json from your repository at the state you know it worked · Run...
Read more >
Add option: npm install --from-lock-file · Issue #18286 - GitHub
When using the --from-lockfile argument, npm would ignore the package.json file and install the exact versions specified in package-lock.
Read more >
package.json - npm Docs
Version must be parseable by node-semver, which is bundled with npm as a dependency. ... If a url is provided, it will be...
Read more >
Everything You Wanted To Know About package-lock.json But ...
It can't be found or the wrong version seems to be installed. Most people just end up deleting the package-lock.json and running `npm...
Read more >
How to troubleshoot NPM problems - JFrog
Relevant versions: This information pertains to Artifactory versions 6.X and above. The npm client is used by many application pipelines to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found