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.

build crash: Error: Cannot find module 'config'

See original GitHub issue

Сonfig is available! Doxity v0.5.2 node v9.11.1

$ doxity build
contracts/ICO.sol:10:42: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
        if (this.balance != totalSupply) throw;
                                         ^---^
contracts/ICO.sol:13:5: Warning: No visibility specified. Defaulting to "public".
    function ICO(uint _endOfFundingPeriod ) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:18:5: Warning: No visibility specified. Defaulting to "public".
    function() {throw;}
    ^-----------------^
contracts/ICO.sol:18:17: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
    function() {throw;}
                ^---^
contracts/ICO.sol:20:5: Warning: No visibility specified. Defaulting to "public".
    function buyMagicBeans() payable checkInvariant() {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:21:39: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
        if (now > endOfFundingPeriod) throw;
                                      ^---^
contracts/ICO.sol:26:5: Warning: No visibility specified. Defaulting to "public".
    function refund() checkInvariant() returns(bool) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:39:5: Warning: No visibility specified. Defaulting to "public".
    function fundTheProject() returns(bool) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:1:1: Warning: Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.21;"
contract ICO {
^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:10:13: Warning: Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member.
        if (this.balance != totalSupply) throw;
            ^----------^
contracts/ICO.sol:41:29: Warning: Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member.
            && company.send(this.balance))
                            ^----------^
Generating output for 2 contracts...
  done!

> doxity-gatsby-starter-project@1.0.0 build /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity
> gatsby build --prefix-links

Generating CSS
Generating Static HTML
Failed at generating HTML

/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/gatsby/dist/bin/cli.js:52
      throw err;
      ^
Error: Error: Cannot find module 'config'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at requireLike (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/require-like/lib/require-like.js:15:26)
    at webpackUniversalModuleDefinition (render-page.js:3:28)
    at render-page.js:10:3
    at Script.runInContext (vm.js:74:29)
    at Script.runInNewContext (vm.js:80:15)
    at module.exports (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/eval/eval.js:69:12)
    at Compiler.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/static-site-generator-webpack-plugin/index.js:31:20)
    at Compiler.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.emitAssets (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compiler.js:226:7)
    at Compiler.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compiler.js:184:10)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compiler.js:403:12
    at Compiler.next (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:67:11)
    at Compiler.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compiler.js:400:9)
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:577:13)
    at Compilation.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:60:69)
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:572:10)
    at Compilation.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:60:69)
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:567:9)
    at Compilation.next (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:67:11)
    at ExtractTextPlugin.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/extract-text-webpack-plugin/index.js:309:4)
    at Compilation.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:563:8)
    at Compilation.next (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:67:11)
    at ExtractTextPlugin.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/extract-text-webpack-plugin/index.js:285:5)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at Object.async.forEachOf.async.eachOf (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:236:30)
    at Object.async.forEach.async.each (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:209:22)
    at ExtractTextPlugin.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/extract-text-webpack-plugin/index.js:237:10)
    at Compilation.applyPluginsAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.seal (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:525:7)
    at Compiler.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compiler.js:397:15)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/tapable/lib/Tapable.js:103:11
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:445:10)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:417:12
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at done (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:246:17)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:44:16
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:332:10
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:52:16
    at Object.async.forEachOf.async.eachOf (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:236:30)
    at Object.async.forEach.async.each (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/async/lib/async.js:209:22)
    at Compilation.addModuleDependencies (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:185:8)
    at Compilation.processModuleDependencies (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:170:7)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:320:12
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:123:4
    at Array.forEach (<anonymous>:null:null)
    at callback (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:122:12)
    at Compilation.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/Compilation.js:140:10)
    at NormalModule.<anonymous> (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack/lib/NormalModule.js:115:10)
    at NormalModule.onModuleBuild (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10)
    at nextLoader (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:275:25)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:292:15
    at runSyncOrAsync (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:160:12)
    at nextLoader (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! doxity-gatsby-starter-project@1.0.0 build: `gatsby build --prefix-links`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the doxity-gatsby-starter-project@1.0.0 build 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!     /home/scientistnik/.npm/_logs/2018-04-11T11_01_11_611Z-debug.log
Published Documentation to /home/scientistnik/workspace/librebank/tests/doxity-simpleton/docs

When I install config: npm i config:

$ doxity build
contracts/ICO.sol:10:42: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
        if (this.balance != totalSupply) throw;
                                         ^---^
contracts/ICO.sol:13:5: Warning: No visibility specified. Defaulting to "public".
    function ICO(uint _endOfFundingPeriod ) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:18:5: Warning: No visibility specified. Defaulting to "public".
    function() {throw;}
    ^-----------------^
contracts/ICO.sol:18:17: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
    function() {throw;}
                ^---^
contracts/ICO.sol:20:5: Warning: No visibility specified. Defaulting to "public".
    function buyMagicBeans() payable checkInvariant() {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:21:39: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
        if (now > endOfFundingPeriod) throw;
                                      ^---^
contracts/ICO.sol:26:5: Warning: No visibility specified. Defaulting to "public".
    function refund() checkInvariant() returns(bool) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:39:5: Warning: No visibility specified. Defaulting to "public".
    function fundTheProject() returns(bool) {
    ^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:1:1: Warning: Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.21;"
contract ICO {
^ (Relevant source part starts here and spans across multiple lines).
contracts/ICO.sol:10:13: Warning: Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member.
        if (this.balance != totalSupply) throw;
            ^----------^
contracts/ICO.sol:41:29: Warning: Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member.
            && company.send(this.balance))
                            ^----------^
Generating output for 2 contracts...
  done!

> doxity-gatsby-starter-project@1.0.0 build /home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity
> gatsby build --prefix-links

Generating CSS
Generating Static HTML
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
WARNING: No configurations found in configuration directory:/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Failed at generating HTML

/home/scientistnik/workspace/librebank/tests/doxity-simpleton/doxity/node_modules/gatsby/dist/bin/cli.js:52
      throw err;
      ^
Error: TypeError: Cannot read property 'linkPrefix' of undefined
    at prefixLink (render-page.js:30048:81)
    at module.exports (render-page.js:25338:42)
    at render-page.js:89:40
    at module.exports (render-page.js:101866:11)
    at Object.<anonymous> (render-page.js:88:2)
    at __webpack_require__ (render-page.js:30:30)
    at Object.assign.i (render-page.js:50:18)
    at render-page.js:53:10
    at webpackUniversalModuleDefinition (render-page.js:3:20)
    at render-page.js:10:3

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! doxity-gatsby-starter-project@1.0.0 build: `gatsby build --prefix-links`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the doxity-gatsby-starter-project@1.0.0 build 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!     /home/scientistnik/.npm/_logs/2018-04-11T11_04_29_561Z-debug.log
Published Documentation to /home/scientistnik/workspace/librebank/tests/doxity-simpleton/docs

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
dmytronasyrovcommented, Nov 4, 2018

Same issue. Downgraded from Node 11 to Node 8. Thanks @KatSick

1reaction
KatSickcommented, Nov 1, 2018

fixed with using nodejs 8

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Error - Cannot find module 'config' - Stack Overflow
I used the following code & it worked :- config = require('../config/config');.
Read more >
Error: Cannot find module 'config' #404 - vercel/pkg - GitHub
I'm using the node "config" module to define configuration values for my app. Pkg doesn't complain on build, but barfs at runtime with...
Read more >
Troubleshooting Node.js Deploys - Heroku Dev Center
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >
I have an error it says: Error: Cannot find module '.env'
[nodemon] starting node ./index.js node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module '.env' Require stack: ...
Read more >
Troubleshooting - Puppeteer
Cannot find module 'puppeteer-core/internal/. ... no good sandbox for Chrome to use, it will crash with the error No usable sandbox ... Build...
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