react-starter-kit: Error: Cannot find module './assets.json'
I just checked out this repo tonight, ran npm install, then npm start.
↪ npm start
> @ start /src/test-app
> babel-node tools/run start
[21:21:48] Starting 'start'...
[21:21:48] Starting 'clean'...
[21:21:48] Finished 'clean' after 22 ms
[21:21:48] Starting ''...
build/package.json
[21:21:48] Finished '' after 164 ms
Error: Cannot find module './assets.json'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.module.exports.Object.defineProperty.value (/src/test-app/build/webpack:/external "./assets.json":1:1)
at __webpack_require__ (/src/test-app/build/webpack:/webpack/bootstrap aa2d604e4e09d8ff8a8e:19:1)
at Object.<anonymous> (/src/test-app/build/webpack:/src/server.js:9:37)
at __webpack_require__ (/src/test-app/build/webpack:/webpack/bootstrap aa2d604e4e09d8ff8a8e:19:1)
at module.exports._this2 (/src/test-app/build/webpack:/webpack/bootstrap aa2d604e4e09d8ff8a8e:39:1)
at Object.<anonymous> (/src/test-app/build/webpack:/webpack/bootstrap aa2d604e4e09d8ff8a8e:39:1)
webpack built 333c850d705c8c769ddd in 6474ms
Child
Time: 6474ms
Asset Size Chunks Chunk Names
main.js?333c850d705c8c769ddd 3.13 MB 0 [emitted] main
Child
Time: 5748ms
Asset Size Chunks Chunk Names
server.js 194 kB 0 [emitted] main
server.js.map 173 kB 0 [emitted] main
webpack: bundle is now VALID.
There were a couple errors for the npm install command, and I’m not sure if they’re related.
npm WARN engine jest-cli@0.8.2: wanted: {"node":">= 4"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN prefer global babel@5.8.34 should be installed with -g
Here’s what’s in the build directory.
↪ ls build
assets.json content package.json public server.js server.js.map
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (5 by maintainers)
still getting this error too