Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Cannot find module 'inline-style-prefixer/static' #54

Open
ismailsalam opened this issue Apr 15, 2019 · 1 comment
Open

Cannot find module 'inline-style-prefixer/static' #54

ismailsalam opened this issue Apr 15, 2019 · 1 comment

Comments

@ismailsalam
Copy link

Hello I have this ERROR, Any idea please?

Step 8/9 : RUN npm run build
---> Running in fd65e01f4536

[email protected] build /usr/src/app
browserify -t [babelify --presets ['env' 'react' 'stage-2'] ] client-src/root.
js -o lib/root.js

Error: Cannot find module 'inline-style-prefixer/static' from '/usr/src/app/node
_modules/narcissus/build'
at /usr/src/app/node_modules/browser-resolve/node_modules/resolve/lib/async.
js:46:17
at process (/usr/src/app/node_modules/browser-resolve/node_modules/resolve/l
ib/async.js:173:43)
at ondir (/usr/src/app/node_modules/browser-resolve/node_modules/resolve/lib
/async.js:188:17)
at load (/usr/src/app/node_modules/browser-resolve/node_modules/resolve/lib/
async.js:69:43)
at onex (/usr/src/app/node_modules/browser-resolve/node_modules/resolve/lib/
async.js:92:31)
at /usr/src/app/node_modules/browser-resolve/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! [email protected] build: browserify -t [babelify --presets ['env' 're act' 'stage-2'] ] client-src/root.js -o lib/root.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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! /root/.npm/_logs/2019-04-15T16_02_14_664Z-debug.log
ERROR: Service 'web' failed to build: The command '/bin/sh -c npm run build' ret
urned a non-zero code: 1

@nkadis
Copy link

nkadis commented Jun 17, 2019

@ismailsalam have you run any npm command(s) before running the docker command? If so, then revert the changes made to package.json by npm, and run the docker command again. You might also want to remove the node_modules folder to save up some space

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants