node-packer
node-packer copied to clipboard
Example web application compilation gives error: package.json should exist
Steps to produce the error:
git clone --depth 1 https://github.com/eggjs/examples.git
cd examples/helloworld
npm install
nodec node_modules/.bin/egg-bin
cd ../
./helloworld/a.out dev
The output a.out will look for web app's source code first, e. g. package.json.
⚠️ Error: egg is not found in /srv/examples/node_modules
⚠️ Command Error, enable `DEBUG=common-bin` for detail
+1
So that means nodec only compiled the node and egg-bin? Not compile the web source code?
See also this