-
Notifications
You must be signed in to change notification settings - Fork 107
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
Build error on Windows 10 #109
Comments
Is this the case for all versions of node? Seems odd. |
@lance I think this was my fault. |
no, it still failing with make: hf@DESKTOP-137Q3FQ MINGW64 ~/Desktop/dev/opossum (master)
$ make
npm run lint
> opossum@1.3.0 lint C:\Users\hf\Desktop\dev\opossum
> eslint test/*.js index.js lib/*.js
npm run build:browser
> opossum@1.3.0 build:browser C:\Users\hf\Desktop\dev\opossum
> browserify index.js lib/*.js > dist/opossum.js
Error: Cannot find module 'C:\Users\hf\Desktop\dev\opossum\lib\*.js' from 'C:\Users\hf\Desktop\dev\opossum'
at C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:55:21
at load (C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:69:43)
at onex (C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:92:31)
at C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:152:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opossum@1.3.0 build:browser: `browserify index.js lib/*.js > dist/opossum.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opossum@1.3.0 build:browser 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! C:\Users\hf\AppData\Roaming\npm-cache\_logs\2017-11-23T14_12_29_165Z-debug.log
Makefile:2: recipe for target 'ci' failed
make: *** [ci] Error 1
hf@DESKTOP-137Q3FQ MINGW64 ~/Desktop/dev/opossum (master)
$ make ci
npm run lint
> opossum@1.3.0 lint C:\Users\hf\Desktop\dev\opossum
> eslint test/*.js index.js lib/*.js
npm run build:browser
> opossum@1.3.0 build:browser C:\Users\hf\Desktop\dev\opossum
> browserify index.js lib/*.js > dist/opossum.js
Error: Cannot find module 'C:\Users\hf\Desktop\dev\opossum\lib\*.js' from 'C:\Us ers\hf\Desktop\dev\opossum'
at C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:55:21
at load (C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:6 9:43)
at onex (C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:9 2:31)
at C:\Users\hf\Desktop\dev\opossum\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:152:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opossum@1.3.0 build:browser: `browserify index.js lib/*.js > dist/oposs um.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opossum@1.3.0 build:browser script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hf\AppData\Roaming\npm-cache\_logs\2017-11-23T14_13_09_649 Z-debug.log
Makefile:2: recipe for target 'ci' failed
make: *** [ci] Error 1 |
seems to be a problem with browserify or browserify-usage : and eslint works fine using wildcards hf@DESKTOP-137Q3FQ MINGW64 ~/Desktop/dev/opossum (master)
$ npm install
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
> opossum@1.3.0 prepublish C:\Users\hf\Desktop\dev\opossum
> nsp check && npm run build:browser
(+) No known vulnerabilities found
> opossum@1.3.0 build:browser C:\Users\hf\Desktop\dev\opossum
> browserify index.js lib/circuit.js > dist/opossum.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 115 packages in 17.579s |
seems to be the same issue: |
also to avoid: hf@DESKTOP-137Q3FQ MINGW64 ~/Desktop/dev/opossum (pr)
$ npm install
npm ERR! path C:\Users\hf\Desktop\dev\opossum\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall scandir
npm ERR! Error: EPERM: operation not permitted, scandir 'C:\Users\hf\Desktop\dev\opossum\node_modules\fsevents\node_modules'
npm ERR! { Error: EPERM: operation not permitted, scandir 'C:\Users\hf\Desktop\dev\opossum\node_modules\fsevents\node_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'C:\\Users\\hf\\Desktop\\dev\\opossum\\node_modules\\fsevents\\node_modules\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'scandir',
npm ERR! path: 'C:\\Users\\hf\\Desktop\\dev\\opossum\\node_modules\\fsevents\\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hf\AppData\Roaming\npm-cache\_logs\2017-11-23T15_02_19_626Z-debug.log we need to run like this: |
closing |
Node.js Version:
8.9.0
Operating System:
Windows 10
Steps to Produce Error:
npm it
Related to bucharest-gold/entente#179
The text was updated successfully, but these errors were encountered: