stencil icon indicating copy to clipboard operation
stencil copied to clipboard

Problem when install @stencil/core 0.0.6-14

Open wellbeck190 opened this issue 9 years ago • 8 comments

npm ERR! Linux 4.4.0-93-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10
npm ERR! path /home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648' -> '/home/r0/Workspace/my-app/node_modules/@stencil/core/node_modules/@types/node'
npm ERR! enoent ENOENT: no such file or directory, rename '/home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648' -> '/home/r0/Workspace/my-app/node_modules/@stencil/core/node_modules/@types/node'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/r0/Workspace/my-app/npm-debug.log

This problem occurred when I install node module for stencil-app-starter. I think it is problem of stencil core.

wellbeck190 avatar Oct 12 '17 01:10 wellbeck190

Hey @wellbeck190 , in your package.json if you pin your @stencil/core version to 0.0.6-10 and do npm install does it work?

jgw96 avatar Oct 12 '17 19:10 jgw96

Stencil-app-starter dependency:

  "dependencies": {
    "@stencil/core": "0.0.6-10",
    "@stencil/router": "latest"
  },

Npm install error:

      ├── [email protected] 
      ├── [email protected] 
      ├─┬ [email protected] 
      │ └── [email protected] 
      ├── [email protected] 
      ├── [email protected] 
      └── [email protected] 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.1 (node_modules/sane/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 4.4.0-93-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10
npm ERR! path /home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648' -> '/home/r0/Workspace/my-app/node_modules/@stencil/core/node_modules/@types/node'
npm ERR! enoent ENOENT: no such file or directory, rename '/home/r0/Workspace/my-app/node_modules/.staging/@types/node-daaf9648' -> '/home/r0/Workspace/my-app/node_modules/@stencil/core/node_modules/@types/node'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/r0/Workspace/my-app/npm-debug.log

I am using Ubuntu 16.04.

I continue comeback previous version until work: 0.0.6-7 haven't this problem but problem with npm run build. ... same problem 0.0.6-4 work well and I can build ionic/core.

@jgw96

wellbeck190 avatar Oct 12 '17 22:10 wellbeck190

@jgw96 I am having the same error mentioned above in Windows 10 x64.

Dependencies

"dependencies": {
    "@stencil/core": {
      "version": "0.0.6-10",
      "resolved": "https://registry.npmjs.org/@stencil/core/-/core-0.0.6-10.tgz",
      "integrity": "sha512-w7axEBwBJSbJQlXvUeIdFsoRVoN2KF8gMfPGmG28sIfDWK+vQgtEJ4rMl8VQKTW2kUg5w/cTy589OF0ws3ojlg==",
      "requires": {
        "chalk": "2.1.0",

Error

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! path G:\stencil\my-app\node_modules\.staging\@types\node-1679b34c
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename 'G:\stencil\my-app\node_modules\.staging\@types\node-1679b34c' -> 'G:\stencil\my-app\node_modules\@stencil\core\node_modules\@types\node'
npm ERR! enoent ENOENT: no such file or directory, rename 'G:\stencil\my-app\node_modules\.staging\@types\node-1679b34c' -> 'G:\stencil\my-app\node_modules\@stencil\core\node_modules\@types\node'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

UPDATE:

I was able to fix this error by updating node version from v6.9.1 to v8.7.0

thusitha92 avatar Oct 15 '17 05:10 thusitha92

Problem occurred for me also. (Windows 10, [email protected])

LloydVincent avatar Oct 18 '17 12:10 LloydVincent

+1

Same error for me on mac os 10.13 node version v6.11.3, npm v3.10.10

Works on node v8.5.0, npm v5.3.0

mlabieniec avatar Oct 19 '17 15:10 mlabieniec

Hello all! I was able to reproduce this with npm 3 and can confirm that with npm 5 it works fine.

jgw96 avatar Oct 19 '17 16:10 jgw96

The following workaround fixed the problem on my Ubuntu 16.04 machine with nodejs v6.11.4.

sudo npm install npm@latest -g

azawawi avatar Oct 22 '17 08:10 azawawi

Hello all! With Node 8 and therefore NPM 5 becoming the LTS release today I am going to close this issue for now. Also, we are removing the bundling of dependencies that we were doing which is what was causing this issue with npm < 5. Thanks for using Stencil!

jgw96 avatar Oct 31 '17 18:10 jgw96