Skip to content
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

Error trying to run npm run dist #352

Open
jbricenoz opened this issue Nov 29, 2018 · 0 comments
Open

Error trying to run npm run dist #352

jbricenoz opened this issue Nov 29, 2018 · 0 comments

Comments

@jbricenoz
Copy link

`$ npm run dist

@0.0.1 dist /Users/jbriceno/workspace/web/amp-web-skin-maker
npm run copy-files & webpack --env=dist

@0.0.1 copy-files /Users/jbriceno/workspace/web/amp-web-skin-maker
copyfiles ../src/index.html ../src/favicon.ico ../dist

internal/modules/cjs/loader.js:583
throw err;
^

Error: Cannot find module './index'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/jbriceno/workspace/web/amp-web-skin-maker/node_modules/.bin/copyfiles:3:17)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @0.0.1 copy-files: copyfiles ../src/index.html ../src/favicon.ico ../dist
npm ERR! Exit status 1
`

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

No branches or pull requests

1 participant