-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module '../public/scripts/highlight-c.js' #16
Comments
|
npm install --production 하면 파일들을 copy해야 한다고 뜨더라고요. 그중에 저파일이 있던것 같은데요. |
npm install --production 시 로그입니다.
|
@rotoshine postinstall이 수행되지 않았네요... devnote가 설치된 디렉토리에서 node node_modules/jake/bin/cli.js build 라고 실행하면 어떻게 되는지 확인 가능하신지요? |
Required files are being copied npm http 304 https://registry.npmjs.org/zombie npm http GET https://registry.npmjs.org/contextify npm http GET https://registry.npmjs.org/eventsource npm http GET https://registry.npmjs.org/html5 npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/ms npm http GET https://registry.npmjs.org/jsdom npm http GET https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/tough-cookie npm http GET https://registry.npmjs.org/q npm http GET https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/mime npm http 304 https://registry.npmjs.org/html5 npm http 304 https://registry.npmjs.org/ms npm http 304 https://registry.npmjs.org/contextify npm http 304 https://registry.npmjs.org/jsdom npm http 304 https://registry.npmjs.org/ws npm http 304 https://registry.npmjs.org/tough-cookie npm http 304 https://registry.npmjs.org/eventsource npm http 304 https://registry.npmjs.org/q npm http 304 https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/punycode npm http GET https://registry.npmjs.org/options npm http GET https://registry.npmjs.org/commander npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/htmlparser npm http GET https://registry.npmjs.org/cssom npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/htmlparser info npm http 304 https://registry.npmjs.org/cssom npm http 304 https://registry.npmjs.org/tinycolor spawn npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/options spawn make: Entering directory `/usr/local/devnote/node_modules/zombie/node_modules/contextify/build' CXX(target) Release/obj.target/contextify/src/contextify.o
[ws v0.4.22] Attempting to compile blazing fast native extensions. SOLINK_MODULE(target) Release/obj.target/contextify.node npm http 304 https://registry.npmjs.org/punycode SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished COPY Release/contextify.node make: Leaving directory `/usr/local/devnote/node_modules/zombie/node_modules/contextify/build' info [ws v0.4.22] Native extension compilation successful! npm http GET https://registry.npmjs.org/opts npm http GET https://registry.npmjs.org/bench npm http GET https://registry.npmjs.org/tap npm http 304 https://registry.npmjs.org/opts npm http 304 https://registry.npmjs.org/bench npm http 304 https://registry.npmjs.org/tap npm http GET https://registry.npmjs.org/slide npm http GET https://registry.npmjs.org/runforcover npm http 304 https://registry.npmjs.org/slide npm http 304 https://registry.npmjs.org/runforcover npm http GET https://registry.npmjs.org/bunker npm http 304 https://registry.npmjs.org/bunker npm http GET https://registry.npmjs.org/burrito npm http 304 https://registry.npmjs.org/burrito npm http GET https://registry.npmjs.org/traverse npm http GET https://registry.npmjs.org/uglify-js npm http 304 https://registry.npmjs.org/traverse npm http 304 https://registry.npmjs.org/uglify-js zombie@2.0.0-alpha1 ./node_modules/zombie ....build end |
이후 다시 npm start --production 하니 실행이 잘 됩니다. |
jake 설치가 안된것도 아닌데, 어떤 이유에서인지 postinstall이 안되는 경우가 있나보네요. 이런 경우 직접 |
실행시 해당 모듈이 없다고 나옵니다.
일단 파일이름만 highlight-c.js로 만들고(내용없이) 저위치에 두면 정상적으로 서버가 기동됩니다.
The text was updated successfully, but these errors were encountered: